package com.jie.service.impl;

import com.jie.service.ConsumerService;
import com.jie.service.DemoService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;


@Service
public class ConsumerServiceImpl  implements ConsumerService{

    @Reference
    private DemoService demoService;

    public String hello(String name){
        return demoService.sayHello(name);
    }
}
